<?php
session_start();
?>
<html>
<head>
<title>新帖发布</title>
<meta charset = "utf-8" />
<link rel = "stylesheet" href = "public.css" style = "text/css" >
<script type = "text/javascript" src = "jquery-1.7.1.js"></script>
<script>
	$(function(){
		$("#new_title").focus();
	});
</script>
</head>
<body>
<div class = "header">
<p>小树林BBS--新帖发布页</p>
</div>

<div class = "content" >
	
	<div class = "side_bar">
		<ul>	
			<li><a href = "computer	.php" id = "post_index">返回版面</a></li>
			<li><a href = "#" id = "post_all">主帖一览</a></li>
			<li><a href = "public.php" id = "post_add">发布新帖</a></li>
			<li><a href = "#" id = "post_edit">修改帖子</a></li>
			<li><a href = "#" id = "post_delete">删除帖子</a></li>
			<li><a href = "#" id = "post_save">收藏帖子</a></li>
		</ul>
	</div>

	<div class = "public_news">
		<table>
			<form action = "public_process.php" method= "post" class = "new_post_form" id = "new_post_form" >
				<tr>
					<td>帖子标题</td>
					<td><input type = "text" name ="new_title" id = "new_title" /></td>
				</tr>

				<tr>
					<td><label for = "new_content">帖子内容</label></td>
					<td><textarea rows = "10" cols = "30" name = "new_content" id = "new_content"/></textarea></td>
				</tr>

				<tr>
					<td></td>
					<td>
						<input type = "submit" value = "发布" name = "submit_news" id = "submit_news" />
						<input type = "reset" value = "重新输入" name = "reset_news" id = "reset_news" />
					</td>
				</tr>
			
			</form>
		</table>
	</div>
</div>

<div class = "footer" >

</div>

</body>

</html>